home *** CD-ROM | disk | FTP | other *** search
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- #include "stdafx.h"
- #include "mathsctl.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CMathsCtl
-
- IMPLEMENT_DYNCREATE(CMathsCtl, CWnd)
-
- /////////////////////////////////////////////////////////////////////////////
- // CMathsCtl properties
-
- OLE_COLOR CMathsCtl::GetBackColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CMathsCtl::SetBackColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
- }
-
- OLE_COLOR CMathsCtl::GetForeColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void CMathsCtl::SetForeColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
- }
-
- BOOL CMathsCtl::GetOpposite()
- {
- BOOL result;
- GetProperty(0x1, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CMathsCtl::SetOpposite(BOOL propVal)
- {
- SetProperty(0x1, VT_BOOL, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CMathsCtl operations
-
- void CMathsCtl::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-